#ifndef TRACKPOINT_H
#define TRACKPOINT_H

#include <QDateTime>
#include "geocoordinates.h"

// Класс для хранения точки трека.

class TrackPoint
{
private:
    QDateTime datetime;
    GeoCoordinates coord;
public:
    TrackPoint(void);
    TrackPoint(const QDateTime&, const GeoCoordinates&);
    TrackPoint(const QDateTime&, const double& = 0, const double& = 0);
    ~TrackPoint();
    void SetCoordinates(const double&, const double&);
    void SetCoordinates(const GeoCoordinates&);
    GeoCoordinates GetCoordinates(void) const;
    void SetDateTime(const QDateTime&);
    QDateTime GetDateTime(void) const;
};

#endif // TRACKPOINT_H
